package com.jihu.design.behavioral.state;

/**
 * 竞赛状态
 * @author jihu
 * @date 2021/9/28
 */
public class MatchState implements TeamState {


    @Override
    public void playGame() {
        System.out.println("全力以赴打比赛......");
    }

    @Override
    public TeamState next() {
        return new VocationState();
    }
}
